#ifndef SYNCED_CURRENT_POSE_H_
#define SYNCED_CURRENT_POSE_H_

#include <boost/thread/mutex.hpp>
#include <libplayerinterface/player.h>

using boost::mutex;

class SyncedCurrentPose {
private:
  mutex mutex_;
  player_pose2d current_pose_;
public:
  void set_current_pose(const player_pose2d &current_pose);
  player_pose2d current_pose();
  player_point_2d current_position();
};
#endif
